package com.jhgsys.internal.sypq.service;

import com.jhgsys.internal.sypq.entity.TaskTestbl2;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 伴流-桨模 Service接口
 *
 * @author ganjun
 * @date 2024-12-11 00:53:32
 */
public interface ITaskTestbl2Service extends IService<TaskTestbl2> {
    /**
     * 查询（分页）
     * @author ganjun
     * @date 2024-12-11 00:53:32
     * @param request QueryRequest
     * @param taskTestbl2 taskTestbl2
     * @return IPage<TaskTestbl2>
     */
    IPage<TaskTestbl2> findTaskTestbl2Page(QueryRequest request, TaskTestbl2 taskTestbl2);

    /**
     * 查询（所有）
     * @author ganjun
     * @date 2024-12-11 00:53:32
     * @param taskTestbl2 taskTestbl2
     * @return List<TaskTestbl2>
     */
    List<TaskTestbl2> findTaskTestbl2List(TaskTestbl2 taskTestbl2);

    /**
    * 根据ID查询
    * @author ganjun
    * @date 2024-12-11 00:53:32
    * @param id
    * @return TaskTestbl2
    */
    TaskTestbl2 findTaskTestbl2ById(String id);

    /**
     * 新增
     * @author ganjun
     * @date 2024-12-11 00:53:32
     * @param taskTestbl2 taskTestbl2
     */
    boolean createTaskTestbl2(TaskTestbl2 taskTestbl2);

    /**
     * 修改
     * @author ganjun
     * @date 2024-12-11 00:53:32
     * @param taskTestbl2 taskTestbl2
     */
    boolean updateTaskTestbl2(TaskTestbl2 taskTestbl2);

    /**
     * 逻辑删除
     * @author ganjun
     * @date 2024-12-11 00:53:32
     * @param taskTestbl2 taskTestbl2
     * @param taskTestbl2Ids taskTestbl2Ids
     */
    boolean deleteTaskTestbl2(TaskTestbl2 taskTestbl2,String taskTestbl2Ids);

    /**
    * 物理删除
    * @author ganjun
    * @date 2024-12-11 00:53:32
    * @param taskTestbl2Ids taskTestbl2Ids
    */
    boolean physicallyDeleteTaskTestbl2(String taskTestbl2Ids);
}
